The content of this article:
What is a stream
BYTE stream
Character Stream
Starting Date: 2018-07-24
what is a stream
Flow is an abstract concept, is an abstraction of input, the input stream can be regarded as
Document directory
Main methods and constants in the file class
Procedure
Byte output stream: outputstream
Byte input stream: inputstream
Character output stream: writer
Character input stream: Reader
File class
In the entire Io package,
java-input/output stream1 , input and output:Input/output (Input/output) refers to the input or output of data to a device or environment. Any language has the function of input and output, in the Java program, through the stream to complete the
The Java stream is processed into a character stream and a byte stream. A character stream processes a cell that is 2-byte Unicode characters, manipulating characters, character arrays, or strings, and a byte-stream processing unit of 1 bytes,
String
1. char_traits character feature class1) significance: Wrap the universal behavior interface of a specific string element so that the container can execute a specific behavior based on the feature information.2) A general type name is defined.
Stream-based data read and write, too abstract, what is a stream-based, what is a stream? Hadoop is written in the Java language, so to understand Hadoop's streaming Data Access, you have to start with the Java streaming mechanism. Streaming is also
1, the flow of controlIomanip This header file should be included when using formatted I/O.Stdiostream for mixing C and C + + I/o mechanisms, for example to convert C programs to C + + programs2. Class inheritance RelationshipiOS is an abstract base
Provides system input and output through data flow, serialization, and file systems.Java abstracts data from these disparate sources and targets into data streams. The Java language input and output function is very powerful and flexible, the
C ++ binary input/output stream interface design, binary input/output
When it comes to input and output streams, as CPPer, it is natural to think of std: iostream. For text stream processing, iostream can be said to be powerful enough to deal with
The operation of the byte stream and the character stream is basically the same, the difference is only the data unit of the operation is different: the data unit of the byte stream operation is the data unit character of bytes, character stream
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.